package com.cs.paoyer.administration.web.form;

import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionErrors;
//import org.apache.struts.action.ActionError;
import org.apache.struts.action.ActionMapping;
import javax.servlet.http.HttpServletRequest;


public class OptionForm extends ActionForm
{
  public OptionForm()
  {
  }
  public void reset(ActionMapping mapping, HttpServletRequest request)
  {
    super.reset(mapping, request);
  }

  /**
   * Validate all properties to their default values.
   * @param mapping The ActionMapping used to select this instance.
   * @param request The HTTP Request we are processing.
   * @return ActionErrors A list of all errors found.
   */
  public ActionErrors validate(ActionMapping mapping, HttpServletRequest request)
  {
    return super.validate(mapping, request);
  }

  private Long code;
  private String name;
  private String description;
  private String webUserCrea;
  private String webClientCrea;
  private String webUserModif;
  private String webClientModif;
  private String parameters;
  private String optionType;
  private Long order;
  private String icon;
  private Long optionCode;
  private Long programCode;
  private String fatherOptionName;
  private String parentProgramName;

  public Long getCode()
  {
    return code;
  }

  public void setCode(Long newCode)
  {
    code = newCode;
  }

  public String getName()
  {
    return name;
  }

  public void setName(String newName)
  {
    name = newName;
  }

  public String getDescription()
  {
    return description;
  }

  public void setDescription(String newDescription)
  {
    description = newDescription;
  }

  public String getWebUserCrea()
  {
    return webUserCrea;
  }

  public void setWebUserCrea(String newWebUserCrea)
  {
    webUserCrea = newWebUserCrea;
  }

  public String getWebClientCrea()
  {
    return webClientCrea;
  }

  public void setWebClientCrea(String newWebClientCrea)
  {
    webClientCrea = newWebClientCrea;
  }

  public String getWebUserModif()
  {
    return webUserModif;
  }

  public void setWebUserModif(String newWebUserModif)
  {
    webUserModif = newWebUserModif;
  }

  public String getWebClientModif()
  {
    return webClientModif;
  }

  public void setWebClientModif(String newWebClientModif)
  {
    webClientModif = newWebClientModif;
  }

  public String getParameters()
  {
    return parameters;
  }

  public void setParameters(String newParameters)
  {
    parameters = newParameters;
  }

  public String getOptionType()
  {
    return optionType;
  }

  public void setOptionType(String newOptionType)
  {
    optionType = newOptionType;
  }

  public Long getOrder()
  {
    return order;
  }

  public void setOrder(Long newOrder)
  {
    order = newOrder;
  }

  public String getIcon()
  {
    return icon;
  }

  public void setIcon(String newIcon)
  {
    icon = newIcon;
  }

  public Long getOptionCode()
  {
    return optionCode;
  }

  public void setOptionCode(Long newOptionCode)
  {
    optionCode = newOptionCode;
  }

  public Long getProgramCode()
  {
    return programCode;
  }

  public void setProgramCode(Long newProgramCode)
  {
    programCode = newProgramCode;
  }
  public String getFatherOptionName()
  {
    return fatherOptionName;
  }

  public void setFatherOptionName(String newFatherOptionName)
  {
    fatherOptionName = newFatherOptionName;
  }

  public String getParentProgramName()
  {
    return parentProgramName;
  }

  public void setParentProgramName(String newParentProgramName)
  {
    parentProgramName = newParentProgramName;
  }
}